﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x020000B2 RID: 178
	internal class FixUInt16 : IUInt16Decoder
	{
		// Token: 0x060002C3 RID: 707 RVA: 0x0000BA35 File Offset: 0x00009E35
		private FixUInt16()
		{
		}

		// Token: 0x060002C4 RID: 708 RVA: 0x0000BA3D File Offset: 0x00009E3D
		public ushort Read(byte[] bytes, int offset, out int readSize)
		{
			readSize = 1;
			return (ushort)bytes[offset];
		}

		// Token: 0x040000D2 RID: 210
		internal static readonly IUInt16Decoder Instance = new FixUInt16();
	}
}
